Skip to content

Modify component Pt 2 - #3587

Open
Crepestrom wants to merge 8 commits into
PixelGuys:masterfrom
Crepestrom:Modify-Component
Open

Modify component Pt 2#3587
Crepestrom wants to merge 8 commits into
PixelGuys:masterfrom
Crepestrom:Modify-Component

Conversation

@Crepestrom

Copy link
Copy Markdown
Contributor

Adds a new sync command that allows sending small actions from client to server or server to client

@Crepestrom
Crepestrom marked this pull request as ready for review September 8, 2026 19:07
Comment thread src/sync.zig Outdated
std.log.debug("side {} actiontype {}", .{side, actionType});

inline for (@typeInfo(main.entity.components).@"struct".decls) |decl| {
if (@field(main.entity.components, decl.name).server.get(entityId)) |component| {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it still accesses the server on the client

@Crepestrom Crepestrom changed the title Modify component Modify component Pt 2 Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants